package com.xinfan.mhl.domain;

/**
 * @Author zhangxin
 * @Date 2022/6/23 9:43
 * @Version 1.0
 */
public class DiningTable {
    private int id;
    private String state;
    private String orderName;
    private String orderTel;

    public DiningTable() {
    }

    public DiningTable(int id, String stats, String orderName, String orderTel) {
        this.id = id;
        this.state = stats;
        this.orderName = orderName;
        this.orderTel = orderTel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName == null ? null : orderName.trim();
    }

    public String getOrderTel() {
        return orderTel;
    }

    public void setOrderTel(String orderTel) {
        this.orderTel = orderTel == null ? null : orderTel.trim();
    }

    @Override
    public String toString() {
        return id +"\t\t\t"+ state;
    }
}
